/*
* ECARX Technology Limited is the owner of the copyright and the trade secret of this software.
* Without permission, no one has the right to obtain, disclose or use this software in any way.
*/

package ecarx.eas.notification;

import ecarx.xsf.notificationcenter.LauncherControllerApi;

/**
 * FileName: InitCallback.java <br>
 * Description : API {@link LauncherControllerApi}初始化回掉 <br>
 * Create Time: 2019/12/26  10:17 <br>
 * Update Time: 2020/11/10 10:17 <br>
 *
 * @since 1.0.0
 */
public interface InitCallback {
    /**
     * 初始化反馈.
     * <p> 当个远程连接异常断开时，会在自动连接成功后继续回掉此接口 <br>
     *
     * @param ready true-远程服务连接成功；false-远程服务连接失败
     * @param apiName 连接成功 API 的名称 {@link ecarx.xsf.notificationcenter.common.Constants.IAPINAME}
     * @since 1.0.0
     */
    void onInit(boolean ready,String apiName);
}
